package com.click.app.dao;

import com.click.app.model.Product;
import com.click.app.model.RequestClient;
import java.util.Date;
import java.util.List;
/**
 * @author Joel Chuca Condo
 * @date 04/05/2009
 */
public interface RequestClientDao extends GenericDao<RequestClient, Long> {
    List<RequestClient> findByProduct(Product product);
    List<RequestClient> findByProduct(Long id);
    List<RequestClient> findByProductPeriod(Product product, Date initDate, Date endDate);
    List<RequestClient> findByProductPeriod(Long id, Date initDate, Date endDate);
    List<Product> findByProductPeriod();
    List<RequestClient> findByProductStockNoCero(Long id);
}
